import axiosInstance from "./axiosInstance";
const baseUrl = "/powerEquipment";

export const getList = (params) => {
	return axiosInstance.get(`${baseUrl}/list`, { params });
};

export const deletePowerEquipment = (id) => {
	return axiosInstance.delete(`${baseUrl}/${id}`);
}

export const editPowerEquipment = (data) => {
	return axiosInstance.put(`${baseUrl}`, data);
}
export const addPowerEquipment = (data) => {
	return axiosInstance.post(`${baseUrl}`, data);
}
